C++ 应用集成 WPS 指南 > 演示 API 参考 > DocumentWindow > 属性 > DocumentWindow.Active 属性
返回指定的窗格或窗口是否处于激活的状态。只读。 MsoTriState 类型。

语法

表达式 .Active

表达式 一个代表 DocumentWindow 对象的变量。

返回值
MsoTriState

说明

MsoTriState 可以是下列 MsoTriState 常量之一。
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue :指定的窗格或窗口处于活动状态。

 

请参阅